<%=render :partial => "/frame_top" %>
<h1 class="title_header"><%=t (@human.new_record? ? "human.new" : "human.edit" + ": " + @human.name) %></h1>
<a name="#top_human_form"></a>
<% form_for :human, :html => { :multipart => true, :id => "human_new_form", :class => "core_form" }, 
	:url => (@human.new_record? ? "/humans/create" : "/humans/update/#{params[:id]}") do |human_form| -%>
	<table class="table_core_form">
		<tr>
			<td class="table_cell_form"></td>
			<td class="table_input_form"><%= error_messages_for :human %></td>
		</tr>	
		<%=render :partial => "fields", :object => human_form %>
		<tr>
			<td class="label_cell_form"></td>
			<td class="label_input_form">
				<%= submit_tag I18n.t(@human.new_record? ? 'human.new_button' : 'human.edit_button'), 
						:class => "button_form", :id => "human_submit" %>
			</td>
		</tr>
	</table>
<% end %>
<%=render :partial => "/frame_bottom" %>
<script type="text/javascript">connectHumanFields();</script>